<?php

/* @var $this \yii\web\View */
/* @var $content string */

use yii\helpers\Html;
use yii\bootstrap\Nav;
use yii\bootstrap\NavBar;
use yii\widgets\Breadcrumbs;
use frontend\assets\AppAsset;
use common\widgets\Alert;
use common\models\setting\Setting;
use zhongkefu\helpers\Utils;
AppAsset::register($this);
?>
<?php $this->beginPage() ?>
<!DOCTYPE html>
<html lang="<?= Yii::$app->language ?>">
<head>
    <meta charset="<?= Yii::$app->charset ?>">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <?= Html::csrfMetaTags() ?>
    <script type="text/javascript" src="<?= yii::getAlias('@web');?>/js/zepto.js"></script>
    <script type="text/javascript" src="<?= yii::getAlias('@web');?>/js/sm.min.js"></script>
    <script type="text/javascript" src="<?= yii::getAlias('@web');?>/js/swiper.min.js"></script>
    <script type="text/javascript" src="<?= yii::getAlias('@web');?>/js/sm-city-picker.js"></script>
    <script type="text/javascript" src="<?= yii::getAlias('@web');?>/js/formMobi.js"></script>
    <title><?= Html::encode($this->title) ?></title>
    <?php $this->head() ?>
</head>
<?php 
    //网站logo
    $imgLOGO = '';
    try { $imgLOGO = Setting::findOne(['code'=>'imgLOGO'])->value;}
    catch(ErrorException $e){ }
?>
<body>
<?php $this->beginBody() ?>
    <?= $this->render('content.php',['content'=>$content]); ?>
    <?php if(!Utils::isMobile())
    {?>
     <?= Html::cssFile('@web/css/kendo.css')?>
    <?= Html::cssFile('@web/css/bootstrap.css')?>
    <?= Html::cssFile('@web/css/sitexn.css')?>
    <?= Html::cssFile('@web/css/styleenroll.css')?>
    <?= Html::cssFile('@web/css/icon.css')?>
    <?= Html::cssFile('@web/css/sm.min.css')?>
    <?= Html::cssFile('@web/css/sitexn.css')?>
    <?= Html::cssFile('@web/css/formStyle.css')?>
    <?= Html::cssFile('@web/css/calendar.css')?>
    <div class="design_footer">
    <a href="http://www.mymova.com/" target="_blank"><span>由若泽科技提供会议活动管理系统的技术支持</span></a>
    <a href="http://www.mymova.com/" target="_blank"><img class="banner" src="/upload/<?= $imgLOGO;?>"></a>
    </div>
    <?php } ?>
   
<?php $this->endBody() ?>
</body>
        <?php if (isset($this->blocks['footer_scripts'])): ?>
        <?= $this->blocks['footer_scripts'] ?>
        <?php endif; ?>
</html>
<?php $this->endPage() ?>
